package com.dxy.yesas2020goals.study.partone.disignpattern.cmdpattern.ftp.actions;


import com.dxy.yesas2020goals.study.partone.disignpattern.cmdpattern.ftp.FTP;
import com.dxy.yesas2020goals.study.partone.disignpattern.cmdpattern.ftp.IAction;


public class QUitAction implements IAction {
    private FTP ftp;

    public QUitAction(FTP ftp) {
        this.ftp = ftp;
    }

    public void excute() {
        ftp.quit();
    }
}
